package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.QuestionAnswer;

public interface QuestionAnswerMapper extends BaseDaoMapper<QuestionAnswer, Long> {
	/**
	 * app根据id获取问答留言列表
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getQuestionAnswerList(Map<String, Object> params);
	
	/**
	 * app根据id获取问答评论量
	 * @param params
	 * @return
	 */
	public int getQuestionAnswerCount(Map<String, Object> params);
}